<?php 
require_once(dirname(__FILE__).'/MySQLDomain.php');
class OrderdetailsDomain extends MySQLDomain {

	public static $CollectionName="orderdetails";

	public function __construct($data) {
		parent::__construct($data, OrderdetailsDomain::$CollectionName, "orderDetailID");
	}

	public function getOrderDetailID() {
		return $this->getField("orderDetailID");
	}
	public function setOrderDetailID($orderDetailID) {
		$this->setField("orderDetailID", $orderDetailID);
	}

	public function getOrderID() {
		return $this->getField("orderID");
	}
	public function setOrderID($orderID) {
		$this->setField("orderID", $orderID);
	}

	public function getArticleID() {
		return $this->getField("articleID");
	}
	public function setArticleID($articleID) {
		$this->setField("articleID", $articleID);
	}

	public function getPrice() {
		return $this->getField("price");
	}
	public function setPrice($price) {
		$this->setField("price", $price);
	}

	public function getQuantity() {
		return $this->getField("quantity");
	}
	public function setQuantity($quantity) {
		$this->setField("quantity", $quantity);
	}

	public function getAmount() {
		return $this->getField("amount");
	}
	public function setAmount($amount) {
		$this->setField("amount", $amount);
	}

}
?>